# PHP Fatal error: Namespace declaration
swoole启动报错如下:
### PHP Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in /www/wwwroot/mer.crmeb.net/think on line 4
### 解决方法,查看是否存在php的加密扩展
一、在宝塔查看,这里是否安装,如果安装了,卸载即可
![](https://doc.crmeb.com/uploads/mer/mer2/20220624/e8bfb64bafa658c5d44f857b0a39bc5b.png)
二、在命令行查看,php -m 是否存在这个,有的话卸载。
![](https://doc.crmeb.com/uploads/mer/mer2/20220624/a7d6b5bfbe039dfb28b0756c48bdad2b.png)